package com.fengchao.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface OdrTicketInfoMapper {

    /**
     * 根据userId查询票
     *
     * @return
     */
    @Update("update  odr_ticket_info set ticket_status='EXPIRED' where ticket_status='VALID' ")
    Integer updateTicketExpired();

}